//
//  HYPreviewHistoryModel.h
//  XPlayer
//
//  Created by liguoqing on 2023/9/29.
//

#import "BaseModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface HYPreviewHistoryModel : BaseModel
/// 自增主键
@property (nonatomic,assign) int _id;
/// 文件名称
@property (nonatomic, strong) NSString *fileName;
/// 文件路径
@property (nonatomic, strong) NSString *filePath;
/// 文件夹的标识
@property (nonatomic, strong) NSString *folderIdentification;
/// 文件所在文件路径
@property (nonatomic, strong) NSString *folderPath;
/// 文件大小
@property (nonatomic, strong) NSString *fileSize;
/// 视频时长
@property (nonatomic, strong) NSString *videoDuration;
/// 文件类型
@property (nonatomic, assign) NSInteger fileType;
/// 创建日期
@property (nonatomic, strong) NSString *createDate;
/// 导入日期
@property (nonatomic, strong) NSString *importDate;
/// 播放记忆点
@property (nonatomic, assign) NSInteger videoPlayTime;
/// 封面名称
@property (nonatomic, strong) NSString *videoImagePath;
/// 是否是私密文件
@property (nonatomic, assign) BOOL isPrivate;
/// 更新时间
@property (nonatomic, strong) NSString *updateDate;

+ (HYPreviewHistoryModel *)getRecentlyReviewHistory;

+ (NSArray *)fetchAllPreviewHistroyRecord;

+ (void)clearAllPreviewRecord;

@end

NS_ASSUME_NONNULL_END
